class boolConverter(object):
    def __init__(self, value=False):
        self.value = value

    def to_python(self, value):
        return True if value == "true" else False

    def to_url(self, value):
        return str(value)